<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <#include "/comm/module-edit.ftl"/>
</head>
<style type="text/css">

</style>
<body>
<div class="layui-div-body">
    <div class="layui-fluid layui-div-edit">
        <form class="layui-form layui-form-pane">
            <div class="layui-form-item">
                <label class="layui-form-label">姓名</label>
                <div class="layui-input-inline">
                    <input type="text" name="name" placeholder="请输入姓名" class="layui-input" readonly
                           value="${info.name!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">电话</label>
                <div class="layui-input-inline">
                    <input type="text" name="phone" placeholder="请输入电话" class="layui-input" readonly
                           value="${info.phone!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">反馈日期</label>
                <div class="layui-input-inline">
                    <input type="text" name="createTime" placeholder="请输入日期" class="layui-input"
                           value="${info.createTime!}" readonly>
                </div>
            </div>
            <div class="layui-form-item  layui-form-text">
                <label class="layui-form-label">内容</label>
                <div class="layui-input-block">
                     <textarea name="context" placeholder="请输入回复内容"
                               class="layui-textarea" readonly>${info.context!}</textarea>

                </div>
            </div>

            <div class="layui-form-item  layui-form-text">
                <label class="layui-form-label">回复内容</label>
                <div class="layui-input-block">
                    <textarea name="replyContext" placeholder="请输入回复内容" id="replyContext"
                              class="layui-textarea"></textarea>
                </div>
            </div>

            <@shiro code="gen:feedback:reply:edit">
                <div class="layui-form-item">
                    <button class="layui-btn" lay-submit="" lay-filter="save">立即提交
                    </button>
                    <input type="hidden" id="_id" name="_id" value="${info._id}"/>
                </div>
            </@shiro>
        </form>
    </div>
</div>
<script>
    layui.use("edit", function () {
        let edit = layui.edit;
        edit.render()
    });
</script>
</body>

</html>
